-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix error when loading SequenceMeta as dict #310
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #310 +/- ##
==========================================
- Coverage 78.24% 78.15% -0.09%
==========================================
Files 15 15
Lines 671 673 +2
==========================================
+ Hits 525 526 +1
- Misses 146 147 +1 ☔ View full report in Codecov by Sentry. |
@@ -49,21 +49,20 @@ def value(self) -> MDASequence: | |||
split_channels=bool(split), | |||
save_dir=widget_meta.get("save_dir", ""), | |||
file_name=widget_meta.get("save_name", ""), | |||
should_save=bool("save_dir" in widget_meta), | |||
should_save="save_dir" in widget_meta, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did the linter remove this? or did you?
#311 was a more granular fix to the test. the underlying issue has to do with useq schema's |
fix
SequenceMeta
/dict
error in tests not passing both locally and in in #309:FAILED tests/test_multid_widget.py::test_saving_mda[splitC-nT=0-nZ=0-nC=1] - AttributeError: 'dict' object has no attribute 'split_channels'
note: new test added